<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://www.fjd.com/" />
<meta name="Generator" content="68ECSHOP v4_2" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<title>人人科技znrr.com多商户V4.2  </title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="themes/68ecshopcom_360buy/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="themes/68ecshopcom_360buy/css/68ecshop_commin.css" />
<link href="themes/68ecshopcom_360buy/css/store_joinin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="themes/68ecshopcom_360buy/js/jquery-1.9.1.min.js"></script>
<body onload="radioShow()">
<div id="site-nav"> 
	<script type="text/javascript">
var process_request = "正在处理您的请求...";
</script>
<div id="sn-bd">
  <div class="sn-container"> 
  	<script type="text/javascript" src="js/utils.js"></script><script type="text/javascript" src="js/common.min.js"></script>    <font id="login-info" class="sn-login-info">
    	<em>u319EJCL8435 欢迎您回来！</em> 
<a class="sn-login" href="user.php" target="_top">用户中心</a>
<a class="sn-register" href="user.php?act=logout" target="_top">退出</a> 
    </font>
    <ul class="sn-quick-menu">
      <li class="sn-mytaobao menu-item j_MyTaobao">
        <div class="sn-menu">
        	<a aria-haspopup="menu-2" tabindex="0" class="menu-hd" href="user.php" target="_top" rel="nofollow">我的信息<b></b></a>
          	<div id="menu-2" class="menu-bd">
            	<div class="menu-bd-panel" id="myTaobaoPanel">
                	<a href="user.php?act=order_list" target="_top" rel="nofollow">已买到的宝贝</a> 
                    <a href="user.php?act=address_list" target="_top" rel="nofollow">我的地址管理</a> 
               </div>
          </div>
        </div>
      </li>
      <li class="sn-mybrand">
      	<a target="_top" id="J_SnMyBrand" class="sn-mybrand-link mui-global-iconfont" href="user.php?act=follow_shop">我关注的店铺</a> 
      </li>
      <li class="sn-cart mini-cart menu">
      	<a id="mc-menu-hd" class="sn-cart-link mui-global-iconfont" href="flow.php" target="_top" rel="nofollow">购物车</a>
      </li>
      <li class="sn-favorite menu-item">
        <div class="sn-menu"> 
        	<a aria-haspopup="menu-4" tabindex="0" class="menu-hd" href="user.php?act=collection_list" target="_top" rel="nofollow">收藏夹<b></b></a>
          	<div id="menu-4" class="menu-bd">
            	<div class="menu-bd-panel"> 
                	<a href="user.php?act=collection_list" target="_top" rel="nofollow">收藏的宝贝</a> 
                    <a href="user.php?act=follow_shop" target="_top" rel="nofollow">收藏的店铺</a> 
                </div>
          </div>
        </div>
      </li>
      <li class="sn-separator"></li>
      <script type="text/javascript">
		function show_qcord(){
			var qs=document.getElementById('sn-qrcode');
			qs.style.display="block";
		}
		function hide_qcord(){
			var qs=document.getElementById('sn-qrcode');
			qs.style.display="none";
		}
	  </script>
      <li class="menu-item">
      	<div class="sn-menu">
        <a aria-haspopup="menu-6" tabindex="0" class="menu-hd sn-mobile-link" href="" target="_top">手机版<b></b></a>
        <div class="menu-bd sn-qrcode" id="menu-5">
          <ul>
            <li class="app_xiazai">
              <a href="#" target="_top" class="app_store"></a>
              <img src="themes/68ecshopcom_360buy/images/app.jpg" alt="手机客户端" width="76px" height="76px" />               
            </li>
            <li class="app_xiazai1">
              <a href="#" target="_top" class="app_android"></a> 
              <img src="themes/68ecshopcom_360buy/images/android.jpg" alt="手机客户端" width="76px" height="76px" /> 
            </li>
           
          </ul>
        </div>
        </div>
      </li>
      <li class="sn-seller menu-item">
        <div class="sn-menu J_DirectPromo">
        <a aria-haspopup="menu-6" tabindex="0" class="menu-hd" href="" target="_top">商家支持<b></b></a>
        <div class="menu-bd" id="menu-6">
          <ul>
            <li>
              <h3>商家：</h3>
               
              <a href="help.php?id=9" >售后流程</a> 
               
              <a href="help.php?id=10" >购物流程</a> 
               
              <a href="help.php?id=11" >订购方式</a> 
               
              <a href="help.php?id=18" >常见问题</a> 
               
              <a href="article_list.php" >文章资讯</a> 
               
            </li>
            <li>
              <h3>帮助：</h3>
              <a href="help.php" target="_top" title="帮助中心">帮助中心</a> 
            </li>
          </ul>
        </div>
      </li>
      <li class="sn-sitemap">
        <div class="sn-menu">
          <h3 class="menu-hd" tabindex="0" aria-haspopup="menu-8"><span class="sn-site-link">网站导航</span><b></b></h3>
          <div class="menu-bd sn-sitemap-bd" id="menu-8">
            <div class="site-cont site-hot">
              <h2>热点推荐<span>Hot</span></h2>
              <ul class="site-list">
                <li><a href="">ecshop介绍 </a></li>
                <li><a href="">ecshop下载 </a></li>
                <li><a href="">ecshop补丁 </a></li>
                <li><a href="">ecshop商业授权 </a></li>
                <li><a href="">ecshop二次开发 </a></li>
                <li><a href="">ecshop模板定制 </a></li>
              </ul>
            </div>
            <div class="site-cont site-market">
              <h2>行业市场<span>Market</span></h2>
              <ul class="site-list">
                <li><a href="">ecshop商业模板 </a></li>
                <li><a href="">ecshop免费模板 </a></li>
                <li><a href="">ecshop插件 </a></li>
                <li><a href="">ecshop一站开店 </a></li>
                <li><a href="">ecshop主机域名 </a></li>
                <li><a href="">ecshop服务套餐 </a></li>
              </ul>
            </div>
            <div class="site-cont site-brand">
              <h2>优店风尚<span>Stores</span></h2>
              <ul class="site-list">
                <li><a href="">ecshop手机端 </a></li>
                <li><a href="">ecshop微商城 </a></li>
                <li><a href="">ecshop小京东 </a></li>
                <li><a href="">ecshop视觉营销 </a></li>
                <li><a href="">ecshop高端模板 </a></li>
              </ul>
            </div>
          </div>
        </div>
      </li>
    </ul>
  </div>
</div>
</div>
<script>
header_login();
function header_login()
{	
	Ajax.call('login_act_ajax.php', '', loginactResponse, 'GET', 'JSON', '1', '1');
}
function loginactResponse(result)
{
	var MEMBERZONE =document.getElementById('login-info');
	MEMBERZONE.innerHTML= result.memberinfo;
}
</script> 
    <script type="text/javascript" src="js/region.js"></script><div class="headerLayout">
    <div class="headerCon ">
      <h1 id="mallLogo" style="padding-top:10px;"> <a href="index.php" class="header-logo"><img src="themes/68ecshopcom_360buy/images/header/logo.jpg" /></a></h1>
      <div class="header-extra">
       	 <div class="panel-heading">
            <div class="more">
                <div class="progress">
                    <div class="progress-wrap">
                        <div class="progress-item passed">
                            <div class="number">1</div>
                            <div class="progress-desc">入驻须知</div>
                        </div>
                    </div>
                    <div class="progress-wrap">
                        <div class="progress-item ongoing">
                            <div class="number">2</div>
                            <div class="progress-desc">公司信息认证</div>
                        </div>
                    </div>
                    <div class="progress-wrap">
                        <div class="progress-item tobe">
                            <div class="number">3</div>
                            <div class="progress-desc">店铺信息认证</div>
                        </div>
                    </div>
                    <div class="progress-wrap">
                        <div class="progress-item tobe">
                            <div class="number"><i class="tick"></i></div>
                            <div class="progress-desc">等待审核</div>
                        </div>
                    </div>
                </div>
            </div>
         </div>
      </div>
    </div>
  </div>
<div class="store-joinin-apply">
  <div class="main">
  	<div>
    <script>
	function radioShow()
	{	
		var apply_type = document.getElementsByName('apply_type');
		var showdiv = document.getElementsByClassName("apply-company-info");
		for(i=0;i<showdiv.length;i++)
		{
			if(apply_type[i].checked)
			{
				showdiv[i].style.display = "block";
			}
			else
			{
				showdiv[i].style.display = "none";
			}
		}
				
	}
	</script>
    
    <table border="0" cellpadding="0" cellspacing="0" class="all">
          <thead>
            <tr>
              <th colspan="2" align="left">请选择您的开店身份</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>
              <input type="radio" name="apply_type" checked onClick="radioShow()">个人
              <input type="radio" name="apply_type"  onClick="radioShow()">企业
              </td>
            </tr>
          </tbody>
        </table>
    </div>
    <div id="apply_person_info" class="apply-company-info">
          <div class="note"><i></i>以下所需要上传的电子版资质文件仅支持JPG\GIF\PNG格式图片，大小请控制在4096K之内。</div>
      <form id="form_person_info" name="form_person_info" action="apply.php" method="post" enctype="multipart/form-data" onSubmit="return supplier_person_Reg()">
        <table border="0" cellpadding="0" cellspacing="0" class="all">
          <thead>
            <tr>
              <th colspan="2" align="left">请按照提示填写本人真实的资料</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th><i>*</i>店铺名称：</th>
              <td>
	      		<input name="company_name" type="text" value="" class="w200"  />
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>联系地址：</th>
               <td><select name="country" id="selCountries_1" onchange="region.changed(this, 1, 'selProvinces_1')">
                <option value="0">请选择</option>
                                <option value="1" selected>中国</option>
                              </select>
              <select name="province" id="selProvinces_1" onchange="region.changed(this, 2, 'selCities_1')">
                <option value="0">请选择</option>
                                <option value="2" >北京</option>
                                <option value="3" >安徽</option>
                                <option value="4" >福建</option>
                                <option value="5" >甘肃</option>
                                <option value="6" >广东</option>
                                <option value="7" >广西</option>
                                <option value="8" >贵州</option>
                                <option value="9" >海南</option>
                                <option value="10" >河北</option>
                                <option value="11" >河南</option>
                                <option value="12" >黑龙江</option>
                                <option value="13" >湖北</option>
                                <option value="14" >湖南</option>
                                <option value="15" >吉林</option>
                                <option value="16" >江苏</option>
                                <option value="17" >江西</option>
                                <option value="18" >辽宁</option>
                                <option value="19" >内蒙古</option>
                                <option value="20" >宁夏</option>
                                <option value="21" >青海</option>
                                <option value="22" >山东</option>
                                <option value="23" >山西</option>
                                <option value="24" >陕西</option>
                                <option value="25" >上海</option>
                                <option value="26" >四川</option>
                                <option value="27" >天津</option>
                                <option value="28" >西藏</option>
                                <option value="29" >新疆</option>
                                <option value="30" >云南</option>
                                <option value="31" >浙江</option>
                                <option value="32" >重庆</option>
                                <option value="33" >香港</option>
                                <option value="34" >澳门</option>
                                <option value="35" >台湾</option>
                              </select>
              <select name="city" id="selCities_1" onchange="region.changed(this, 3, 'selDistricts_1')">
                <option value="0">请选择</option>
                              </select>
              <select name="district" id="selDistricts_1" style="display:none">
                <option value="0">请选择</option>
                              </select>
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>详细地址：</th>
              <td>
	      <input name="address" class="w200" type="text"   value="" />
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>姓名：</th>
              <td><input name="contacts_name" type="text" class="w100" value="">
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>联系人电话：</th>
              <td><input name="contacts_phone" type="text" class="w100" value="">
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>电子邮箱：</th>
              <td><input type="text" name="email" size=45 value="" class="w200"  />
                <span></span></td>
            </tr>
          </tbody>
          <tfoot>
            <tr>
              <td colspan="20">&nbsp;</td>
            </tr>
          </tfoot>
        </table>
        
        <table border="0" cellpadding="0" cellspacing="0" class="all">
          <thead>
            <tr>
              <th colspan="20" align="left">身份证信息</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th><i>*</i>身份证号码：</th>
              <td><input name="id_card_no" type="text" class="w200" value="">
                <span></span></td>
            </tr>

            <tr>
              <th><i>*</i>手持身份证照片：</th>
              <td><input name="handheld_idcard" type="file">
                                    <br />
                  <span id="id-hand-s"></span>
              </td>
            </tr>
            
            <tr>
              <th><i>*</i>身份证正面：</th>
              <td><input name="idcard_front" type="file">
                         <br />
               <span id="id-front-s"></span>
              </td>
              
            </tr>
            
            <tr>
              <th><i>*</i>身份证反面：</th>
              <td><input name="idcard_reverse" type="file">
                         <br />
               <span id="id-back-s"></span>
              </td>
            </tr>
          </tbody>
          <tfoot>
            <tr>
              <td colspan="20">&nbsp;</td>
            </tr>
          </tfoot>
    	</table>

		<table border="0" cellpadding="0" cellspacing="0" class="all">
      <thead>
        <tr>
          <th colspan="20" align="left">开户银行信息</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th class="w150"><i>*</i>银行开户名：</th>
          <td><input name="bank_account_name" id="bank_account_name" type="text" class="w200" value="">
            <span></span></td>
        </tr>
        <tr>
          <th><i>*</i>个人银行账号：</th>
          <td><input name="bank_account_number" id="bank_account_number" type="text" class="w200" value="">
            <span></span></td>
        </tr>
        <tr>
          <th><i>*</i>开户银行支行名称：</th>
          <td><input name="bank_name" type="text" id="bank_name" class="w200" value="">
            <span></span></td>
        </tr>
        <tr>
          <th><i>*</i>支行联行号：</th>
          <td><input name="bank_code" type="text" id="bank_code" class="w200"  value="">
            <span></span></td>
        </tr>
      </tbody>
      <tfoot>
        <tr>
          <td colspan="20">&nbsp;</td>
        </tr>
      </tfoot>
    </table>
	  <input type="hidden" name="shownum" value="1">
      <input type="hidden" name="do" value="1">
      <input type="hidden" name="person" value="1">
      <div class="bottom">
      <input type="button" value="上一步" class="btn" onclick="top.location.href='apply.php?shownum=0'"><input type="submit" value="下一步" class="btn"></div>
      </form>
    </div>
    
    <div id="apply_company_info" class="apply-company-info"  style="display:none">
      <div class="note"><i></i>以下所需要上传的电子版资质文件仅支持JPG\GIF\PNG格式图片，大小请控制在4096K之内。</div>
      <form id="form_company_info" name="form_company_info" action="apply.php" method="post" enctype="multipart/form-data" onSubmit="return supplier_Reg()">
        <table border="0" cellpadding="0" cellspacing="0" class="all">
          <thead>
            <tr>
              <th colspan="2" align="left">公司及联系人信息</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th><i>*</i>公司名称：</th>
              <td>
	      <input name="company_name" type="text" value="" class="w200"  />
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>公司所在地：</th>
              <td><select name="country" id="selCountries_0" onchange="region.changed(this, 1, 'selProvinces_0')">
                <option value="0">请选择</option>
                                <option value="1" selected>中国</option>
                              </select>
              <select name="province" id="selProvinces_0" onchange="region.changed(this, 2, 'selCities_0')">
                <option value="0">请选择</option>
                                <option value="2" >北京</option>
                                <option value="3" >安徽</option>
                                <option value="4" >福建</option>
                                <option value="5" >甘肃</option>
                                <option value="6" >广东</option>
                                <option value="7" >广西</option>
                                <option value="8" >贵州</option>
                                <option value="9" >海南</option>
                                <option value="10" >河北</option>
                                <option value="11" >河南</option>
                                <option value="12" >黑龙江</option>
                                <option value="13" >湖北</option>
                                <option value="14" >湖南</option>
                                <option value="15" >吉林</option>
                                <option value="16" >江苏</option>
                                <option value="17" >江西</option>
                                <option value="18" >辽宁</option>
                                <option value="19" >内蒙古</option>
                                <option value="20" >宁夏</option>
                                <option value="21" >青海</option>
                                <option value="22" >山东</option>
                                <option value="23" >山西</option>
                                <option value="24" >陕西</option>
                                <option value="25" >上海</option>
                                <option value="26" >四川</option>
                                <option value="27" >天津</option>
                                <option value="28" >西藏</option>
                                <option value="29" >新疆</option>
                                <option value="30" >云南</option>
                                <option value="31" >浙江</option>
                                <option value="32" >重庆</option>
                                <option value="33" >香港</option>
                                <option value="34" >澳门</option>
                                <option value="35" >台湾</option>
                              </select>
              <select name="city" id="selCities_0" onchange="region.changed(this, 3, 'selDistricts_0')">
                <option value="0">请选择</option>
                              </select>
              <select name="district" id="selDistricts_0" style="display:none">
                <option value="0">请选择</option>
                              </select>
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>公司详细地址：</th>
              <td>
	      <input name="address" class="w200" type="text"   value="" />
                <span></span></td>
            </tr>
	    <tr>
              <th><i>*</i>公司类型：</th>
              <td><select name="company_type" class="w200">
                <option value="">请选择</option>
		                  <option value="私营企业" >私营企业</option>
		                  <option value="个体户" >个体户</option>
		                  <option value="外企" >外企</option>
		                  <option value="中外合资" >中外合资</option>
		                </select> <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>公司电话：</th>
              <td><input type="text" name="tel"  value="" class="w100" />
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>公司规模：</th>
              <td><input type="text" class="w200" name="guimo" size=45 value="员工总数：XX人；注册资金：XX万元"   /> <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>联系人姓名：</th>
              <td><input name="contacts_name" type="text" class="w100" value="">
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>联系人电话：</th>
              <td><input name="contacts_phone" type="text" class="w100" value="">
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>电子邮箱：</th>
              <td><input type="text" name="email" size=45 value="" class="w200"  />
                <span></span></td>
            </tr>
          </tbody>
          <tfoot>
            <tr>
              <td colspan="20">&nbsp;</td>
            </tr>
          </tfoot>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" class="all">
          <thead>
            <tr>
              <th colspan="20" align="left">营业执照信息（副本）</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th><i>*</i>营业执照号：</th>
              <td><input name="business_licence_number" type="text" class="w200" value="">
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>法定经营范围：</th>
              <td><textarea name="business_sphere" rows="3" class="w200" ></textarea>
                <span></span></td>
            </tr>

            <tr>
              <th><i>*</i>营业执照号电子版：</th>
              <td>
	      <input type="file" name="zhizhao" class="w200" onchange='setImagePreview(this,localImag,preview)' />
                              <span class="block">请确保图片清晰，文字可辨并有清晰的红色公章。</span></td>
            </tr>
          </tbody>
          <tfoot>
            <tr>
              <td colspan="20">&nbsp;</td>
            </tr>
          </tfoot>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" class="all">
          <thead>
            <tr>
              <th colspan="20" align="left">组织机构代码证</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th><i>*</i>组织机构代码：</th>
              <td><input name="organization_code" type="text" class="w200" value="">
                <span></span></td>
            </tr>
            <tr>
              <th><i>*</i>组织机构代码证电子版：</th>
              <td> <input type="file" name="organization_code_electronic" class="w200" />                <span class="block">请确保图片清晰，文字可辨并有清晰的红色公章。</span></td>
            </tr>
          </tbody>
          <tfoot>
            <tr>
              <td colspan="20">&nbsp;</td>
            </tr>
          </tfoot>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" class="all">
          <thead>
            <tr>
              <th colspan="20"  align="left">一般纳税人证明<em>注：所属企业具有一般纳税人证明时，此项为必填。</em></th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th class="w150">一般纳税人证明：</th>
              <td><input type="file" name="general_taxpayer" class="w200" />                <span class="block">请确保图片清晰，文字可辨并有清晰的红色公章。</span></td>
            </tr>
          </tbody>
          <tfoot>
            <tr>
              <td colspan="20">&nbsp;</td>
            </tr>
          </tfoot>
        </table>
	<input type="hidden" name="shownum" value="1">
      <input type="hidden" name="do" value="1">
      <input type="hidden" name="company" value="1">
      <div class="bottom">
      <input type="button" value="上一步" class="btn" onclick="top.location.href='apply.php?shownum=0'"><input type="submit" value="下一步" class="btn"></div>
      </form>
    </div>
    
    
  </div>
</div>
<script>
function ispic(filepath){
		
	var extStart=filepath.lastIndexOf('.');
	var ext=filepath.substring(extStart,filepath.length).toUpperCase();
	if(ext!='.BMP'&&ext!='.PNG'&&ext!='.GIF'&&ext!='.JPG'&&ext!='.JPEG'){
	  return false;
	}
	return true;
}
function supplier_Reg()
{

	var msg = '';
	var frm = document.forms['form_company_info'];
	var company_name =  frm.elements['company_name'] ? Utils.trim(frm.elements['company_name'].value) : '';
	var country =  frm.elements['country'] ? Utils.trim(frm.elements['country'].value) : '0';
	var province =  frm.elements['province'] ? Utils.trim(frm.elements['province'].value) : '0';
	var city =  frm.elements['city'] ? Utils.trim(frm.elements['city'].value) : '0';
	var district =  frm.elements['district'] ? Utils.trim(frm.elements['district'].value) : '0';
	var address =  frm.elements['address'] ? Utils.trim(frm.elements['address'].value) : '';
	var tel =  frm.elements['tel'] ? Utils.trim(frm.elements['tel'].value) : '';
	var guimo =  frm.elements['guimo'] ? Utils.trim(frm.elements['guimo'].value) : '';
	var company_type =  frm.elements['company_type'] ? Utils.trim(frm.elements['company_type'].value) : '';

	var contacts_name =  frm.elements['contacts_name'] ? Utils.trim(frm.elements['contacts_name'].value) : '';
	var contacts_phone =  frm.elements['contacts_phone'] ? Utils.trim(frm.elements['contacts_phone'].value) : '';

	var email = frm.elements['email'].value;
	var business_licence_number =  frm.elements['business_licence_number'] ? Utils.trim(frm.elements['business_licence_number'].value) : '';
	var business_sphere =  frm.elements['business_sphere'] ? Utils.trim(frm.elements['business_sphere'].value) : '';
	var zhizhao = frm.elements['zhizhao'].value;
	var zz	    = document.getElementById("zz");
	var organization_code =  frm.elements['organization_code'] ? Utils.trim(frm.elements['organization_code'].value) : '';
	var organization_code_electronic = frm.elements['organization_code_electronic'].value;
	var oce	    = document.getElementById("oce");
	//var general_taxpayer = frm.elements['general_taxpayer'].value;
	var gt	    = document.getElementById("gt");

	
	
	if (company_name.length == 0)
	{
		msg += "公司名称不能为空！" + '\n';
	}

	if (country == '0' || province=='0' || city=='0' || district=='0')
	{
		msg += "公司所在地不完整！" + '\n';
	}
	
	if (address.length == 0)
	{
		msg += "公司详细地址不能为空！" + '\n';
	}
	if (tel.length == 0)
	{
		msg += "公司电话不能为空！" + '\n';
	}
	if (tel.length > 0){
		var patrn=/^((\+?[0-9]{2,4}[0-9]{3,4})|([0-9]{3,4}))?([0-9]{7,8})(\-[0-9]+)?$/;
		if (!patrn.exec(tel)){
	　　     msg += "公司电话不正确！" + '\n';
	　　   }
	}
	if (guimo.length == 0)
	{
		msg += "企业规模不能为空！" + '\n';
	}
	if (email.length == 0)
	{
		msg += "电子邮箱不能为空！" + '\n';
	}
	else
	{
		if ( ! (Utils.isEmail(email)))
		{
			msg += "电子邮箱格式错误！" + '\n';
		}
	}
	if (company_type.length == 0)
	{
		msg += "企业类型不能为空！" + '\n';
	}

	if (contacts_name.length == 0)
	{
		msg += "联系人姓名不能为空！" + '\n';
	}

	if (contacts_phone.length == 0)
	{
		msg += "联系人电话不能为空！" + '\n';
	}
	if (contacts_phone.length > 0){
		var patrn=/^1[3|4|5|7|8][0-9]\d{8}$/;
		if (!patrn.exec(contacts_phone)){
	　　     msg += "联系人电话不正确！" + '\n';
	　　   }
	}

	if (business_licence_number.length == 0)
	{
		msg += "营业执照号不能为空！" + '\n';
	}

	if (business_sphere.length == 0)
	{
		msg += "法定经营范围不能为空！" + '\n';
	}

	if(ispic(zhizhao) == false && zz == null){
	   msg += "请上传营业执照！" + '\n';
	}

	if (organization_code.length == 0)
	{
		msg += "组织机构代码不能为空！" + '\n';
	}

	if(ispic(organization_code_electronic) == false && oce == null){
	   msg += "组织机构代码证！" + '\n';
	}

	/*if(ispic(general_taxpayer) == false && gt == null){
	   msg += "组织机构代码证！" + '\n';
	}*/

	if (msg.length > 0)
	{
		alert(msg);
		return false;
	}
	else
	{
		return true;
	}
}
function supplier_person_Reg()
{
	var msg = '';
	var frm = document.forms['form_person_info'];
	var company_name =  frm.elements['company_name'] ? Utils.trim(frm.elements['company_name'].value) : '';
	var country =  frm.elements['country'] ? Utils.trim(frm.elements['country'].value) : '0';
	var province =  frm.elements['province'] ? Utils.trim(frm.elements['province'].value) : '0';
	var city =  frm.elements['city'] ? Utils.trim(frm.elements['city'].value) : '0';
	var district =  frm.elements['district'] ? Utils.trim(frm.elements['district'].value) : '0';
	var address =  frm.elements['address'] ? Utils.trim(frm.elements['address'].value) : '';

	var contacts_name =  frm.elements['contacts_name'] ? Utils.trim(frm.elements['contacts_name'].value) : '';
	var contacts_phone =  frm.elements['contacts_phone'] ? Utils.trim(frm.elements['contacts_phone'].value) : '';
	var email = frm.elements['email'].value;
	
	var id_card_no =  frm.elements['id_card_no'] ? Utils.trim(frm.elements['id_card_no'].value) : '';
	
	var handheld_idcard = frm.elements['handheld_idcard'].value;
	var handheld_idcard_id	    = document.getElementById("handheld_idcard_id");

	var idcard_front = frm.elements['idcard_front'].value;
	var idcard_front_id	    = document.getElementById("idcard_front_id");
	
	var idcard_reverse = frm.elements['idcard_reverse'].value;
	var idcard_reverse_id	    = document.getElementById("idcard_reverse_id");

	
	var bank_account_name =  frm.elements['bank_account_name'] ? Utils.trim(frm.elements['bank_account_name'].value) : '';
	var bank_account_number =  frm.elements['bank_account_number'] ? Utils.trim(frm.elements['bank_account_number'].value) : '';
	var bank_name =  frm.elements['bank_name'] ? Utils.trim(frm.elements['bank_name'].value) : '';
	var bank_code =  frm.elements['bank_code'] ? Utils.trim(frm.elements['bank_code'].value) : '';
	
	if (company_name.length == 0)
	{
		msg += "店铺名称不能为空！" + '\n';
	}

	if (country == '0' || province=='0' || city=='0' || district=='0')
	{
		msg += "联系地址不完整！" + '\n';
	}
	
	if (address.length == 0)
	{
		msg += "详细地址不能为空！" + '\n';
	}
	
	if (contacts_name.length == 0)
	{
		msg += "姓名不能为空！" + '\n';
	}

	if (contacts_phone.length == 0)
	{
		msg += "联系人电话不能为空！" + '\n';
	}
	if (contacts_phone.length > 0){
		var patrn=/^13[0-9]{1}[0-9]{8}$|15[0-9]{1}[0-9]{8}$|17[0-9]{1}[0-9]{8}$|18[0-9]{1}[0-9]{8}$/;
		if (!patrn.exec(contacts_phone)){
	　　     msg += "联系人电话不正确！" + '\n';
	　　   }
	}
	
	if (email.length == 0)
	{
		msg += "电子邮箱不能为空！" + '\n';
	}
	else
	{
		if ( ! (Utils.isEmail(email)))
		{
			msg += "电子邮箱格式错误！" + '\n';
		}
	}	

	if (id_card_no.length == 0)
	{
		msg += "身份证号码不能为空！" + '\n';
	}
	if (id_card_no.length > 0){
		var patrn=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
		if (!patrn.exec(id_card_no)){
	　　     msg += "身份证格式错误！" + '\n';
	　　   }
	}

	if(ispic(handheld_idcard) == false && handheld_idcard_id == null){
	   msg += "手持身份证照片！" + '\n';
	}
	if(ispic(idcard_front) == false && idcard_front_id == null){
	   msg += "身份证正面照片！" + '\n';
	}
	if(ispic(idcard_reverse) == false && idcard_reverse_id == null){
	   msg += "身份证反面照片！" + '\n';
	}

	if (bank_account_name.length == 0)
	{
		msg += "(开户)银行开户名不能为空！" + '\n';
	}
	if (bank_account_number.length == 0)
	{
		msg += "(开户)个人银行账号不能为空！" + '\n';
	}
	if (bank_name.length == 0)
	{
		msg += "(开户)开户银行支行不能为空！" + '\n';
	}
	if (bank_code.length == 0)
	{
		msg += "(开户)支行联行号不能为空！" + '\n';
	}

	if (msg.length > 0)
	{
		alert(msg);
		return false;
	}
	else
	{
		return true;
	}
}
</script> 
	
<div class="site-footer">
  <div class="wrapper">
    <div class="footer-info clearfix">
      <div class="info-text">
              <p class="nav_bottom">
                    <a href="http://www.68ecshop.com/ecshop_topic/company/" target="_blank">关于我们</a><em >|</em>
               <a href="http://www.68ecshop.com/article-4.html" target="_blank">联系我们</a><em >|</em>
               <a href="apply_index.php" >商家入驻</a><em >|</em>
               <a href="#" >友情链接</a><em >|</em>
               <a href="http://www.68ecshop.com/sitemap.xml" >站点地图</a><em >|</em>
               <a href="#" >手机商城</a><em >|</em>
               <a href="#" >销售联盟</a><em >|</em>
               <a href="#" >商城社区</a><em >|</em>
               <a href="#" >企业文化</a><em >|</em>
               <a href="help.php" >帮助中心</a><em style="display:none">|</em>
                             </p>
         <p>
      <a href="javascript:;">&copy; 2005-2016 人人科技znrr.com多商户V4.2 版权所有，并保留所有权利。</a> <a href="javascript:;">人人科技znrr.com多商户V4.2 </a>
      <a href="javascript:;"></a>
        <a href="javascript:;"></a>
      </p>
      <p>
                                                                                                      </p>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript">
Ajax.call('api/okgoods.php', '', '', 'GET', 'JSON');
//预售
Ajax.call('pre_sale.php?act=check_order', '', '', 'GET', 'JSON');
</script> 
</div>
</body>
<script type="text/javascript">
function setImagePreview(docObj,localImagId,imgObjPreview) 
{
    if(docObj.files && docObj.files[0])
    {
	//火狐下，直接设img属性
	imgObjPreview.style.display = 'block';
	imgObjPreview.style.width = '300px';
	imgObjPreview.style.height = '200px';                    

	//火狐7以上版本不能用上面的getAsDataURL()方式获取，需要一下方式  
	imgObjPreview.src = window.URL.createObjectURL(docObj.files[0]);
    }
    else
    {
	//IE下，使用滤镜
	docObj.select();
	docObj.blur();
	var imgSrc = document.selection.createRange().text;

	//必须设置初始大小
	localImagId.style.width = "300px";
	localImagId.style.height = "200px";

	//图片异常的捕捉，防止用户修改后缀来伪造图片
	try
	{
	    localImagId.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale)";
	    localImagId.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgSrc;
	 }
	 catch(e)
	 {
	    alert("您上传的图片格式不正确，请重新选择!");
	    return false;
	  }                          
	  imgObjPreview.style.display = 'none';
	  document.selection.empty();
    }
    return true;
}
</script>
</html>
